<?include("../../config/config.php");
$DM->loadClass("tracker","charset");
// create and instance class
$object_charset = new charset();
$object_charset->id_charset = array_key_exists("id_charset",$_POST)?$_POST["id_charset"]:""; 
$object_charset->txt_charset = array_key_exists("txt_charset",$_POST)?$_POST["txt_charset"]:""; 
if ($object_charset->save()){
	header("Location: charset.list.php");
}else{
	exit("Erro ao salvar charset");
}
?>
